package entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data // 空参,getter/setter,toString
@AllArgsConstructor // 全参构造
@NoArgsConstructor // 空参构造
public class Product implements Serializable {
    private Integer id;
    //2. 普通属性
    private String name;

    private String imgUrl;

    private Double price;

    private String remark;

    private Integer typeId;
    //alter+enter

    //空参构造

    //全参构造

    //getter/setter

    //toString
}

